package net.xiduth.game.player.dialogues.towns.burthope;


import net.xiduth.game.player.dialogues.Dialogue;


/**
 * 
 * @Author Chaz - Jul 14, 2013
 * 
 * Archer dialogue.
 */
public class Archer extends Dialogue {


    private int npcId;
    
    @Override
    public void start() {
        npcId = (Integer) parameters[0];
        sendPlayerDialogue(9827, "Hello there how's it going?");
    }


    @Override
    public void run(int interfaceId, int componentId) {
        switch (stage) {
        case -1:
            stage = 0;
            sendNPCDialogue(npcId, 9827,
                    "Uh... We're not supposed to talk while we're on duty");
            break;
        case 0:
            stage = 1;
            sendPlayerDialogue(9827,
                    "Oh, sorry I didn't notice.");
            break;
        case 1:
            default:
                end();
                break;
        }
    }


    @Override
    public void finish() {
        
    }


}